package cn.com.bluemoon.daps.domp.api.param;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 用户角色信息
 *
 * @author Jarod.Kong
 * @date 2021/7/23 13:38
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class RoleDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /* 角色名（目前也是作为角色标识符），rid来自蓝数通角色id*/
    private String roleName;
    private Boolean selected;
    private Integer rid;

    @Override
    public String toString() {
        return ReflectionToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}

